﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.ShoppingMall.Shop;

namespace FwProject.Shop.Dto
{
    [AutoMap(typeof(ShopProductAttr))]
    public class ShopProductAttrInput
    {
        /// <summary>
        /// 商品id
        /// </summary>
        [Display(Name ="商品编号")]
        public Guid ShopProductid { get; set; }
        /// <summary>
        /// 属性名称
        /// </summary>
        [Required]
        [Display(Name = "属性名称")]
        public string AttrKey { get; set; }
        /// <summary>
        /// 属性值
        /// </summary>
        [Required]
        [Display(Name = "属性值")]
        public string AttrValue { get; set; }
    }
}
